//登录页面api文件

import shopAxios from '../utils/request.js'

// 校验登录
export async function Login(user) {
    const resp = await shopAxios.post('/admin/login', {
        "userName": user.userName,
        "passWord": user.passWord
    })
    return resp
}